.A4 {
    color: #777;
    padding:30px; 
    background-color:white; 
    display: none;
    position:relative;
    &.portrait{
        height:18cm; 
        width:28cm;
        display: block;
    }
    &.landscape{
        width:28cm; 
        height:18cm; 
        display: block;
    }
    .footer{
        position:absolute;
        width: 100%;
        bottom:15px;
        .generted{
            float:left;
            width:40%;        
            font-style: italic;
            color: #555;
        }
        .page_num{
            float:left;
            width:20%;
            text-align:center;
        }
    }
    .legend{
        margin-top: 20px;
        label{
            float:left;
            margin-right: 10px;
            font-size: 10px;
        }
    }
    margin-left:auto; 
    margin-right:auto; 
    box-shadow: 0px 0px 30px rgba(50, 50, 50, 0.75); 
    font-size: 80%;
    td, th{
        color: #777;
        font-size: 80%;    
    }
    @media screen {
        margin-bottom:20px;
    }

    @media print {
        page-break-after: always;
    }
    h1{
        text-align: right;
        margin-bottom: 0;
        font-size: 180%;
    }
    hr{
        margin: 0;
        border-top-color: #777;
    }
    .column{
        position:relative;
        float: left;
        padding:0 1%;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        &.np{
            padding: 0;
        }
    }
    .row{
        margin-bottom:20px;
        float:left;
    }
    table{
        tr{
            border-top: 1px solid #777;
        }
        td{
            -webkit-box-sizing: border-box;
            -moz-box-sizing: border-box;
            box-sizing: border-box;    
            padding: 0 0.3em;
            position: relative;
            line-break: strict;
            overflow:hidden;
        }
    }
    .header-data{
        td.left{
            font-weight: bold;
            text-align: right;
        }
    }
    .strong-label{
        background: black; 
        color:white; 
        text-align: center;   
    }
    .no-bt{
        border-top: none;
    }
    .note{
        position: absolute;
        line-break: strict;
        bottom:5px;
        left:10px;
        width:100%;
    }
    .mainTable{
        margin-top: 50px;
        font-size: 1em;
        tr.heading{
            height: 50px;
            font-weight: bold;
            .rotate{
                text-align: center;
                width:100%;
            }
        }
        tr.heading2{
            font-weight: bold;
        }
        td{
            text-align: center;
        }
    }
    .mainTable.packagingDaily{
        label.pouches{
            position: absolute;
            font-weight: bold;
            left: 0.5cm;
            top: -0.1cm;
        }
    }
    .mainTable.packagingOutput{
        label.pouches{
        }
    }
}
.lt-ie9{
    .A4{
        .mainTable{
            tr.heading{
                .rotate{
                    width: 40px;
                    height: 40px;
                    -webkit-box-sizing: border-box;
                    -moz-box-sizing: border-box;
                    box-sizing: border-box;
                    padding-top:10px;
                    margin:0;
                    vertical-align: middle;
                }
            }
        }
    }
}
